package com.example.shoppingmall.dao;

import com.example.shoppingmall.pojo.SysLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysLogMapper {

    public int save(SysLog sysLog);

    //遍历显示日志信息+分页
    public List<SysLog> getLogAll(@Param("utime") String utime,@Param("pageno") Integer pageno, @Param("pageSize") Integer pageSize);

    //查询总条数
    public int logcount(@Param("utime") String utime);
}
